package com.common.server.entity.license.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.common.server.common.PageRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * ClassName: LicenseInfoQueryRequest
 * Package: com.license.server.entity.dto
 * Description:
 *
 * @Author Memory
 * @Create 2024/12/25 16:34
 * @Version 1.0
 */

/**
 * 证书信息查询请求参数
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel(value = "证书信息查询请求参数")
public class LicenseInfoQueryRequest extends PageRequest implements Serializable {
    /**
     * 证书序号
     */
    @ApiModelProperty(value = "证书序号", required = false)
    @TableId(type = IdType.ASSIGN_UUID)
    private String id;

    /**
     * 证书名
     */
    @ApiModelProperty(value = "证书名", required = false)
    private String licenseName;

    /**
     * 所属项目(项目序号)
     */
    @ApiModelProperty(value = "所属项目(项目序号)", required = false)
    private Long projectId;

    /**
     * 许可期限
     */
    @ApiModelProperty(value = "许可期限(单位：天)", required = false)
    private Integer validityDays;

    /**
     * 申请人
     */
    @ApiModelProperty(value = "申请人", required = false)
    private String applicantName;

    /**
     * 证书状态
     */
    @ApiModelProperty(value = "证书状态", required = false)
    private Integer status;

}
